﻿using Volo.Abp.Settings;
using Xms.Abp.Settings;
using Xms.Abp.Smsing.Localization;

namespace Xms.Abp.Smsing;

[SettingsDefinition(TenantSettingValueProvider.ProviderName, typeof(SmsingResource))]
public class SmsSettings : SettingsBase
{
    [SettingValue("Null")]
    public string DefaultProvider => GetValue();

    [SettingValue("true")]
    public bool IsErrorAutoSwitchProvider => GetValue<bool>();

    public bool IsForwordEnabled => GetValue<bool>();

    public SettingsDictionary<string> Forwords => GetDictionary();
}
